import request from '@/utils/request'

const account = {
  GetCarWashManagementList(data) {
    return request({
      url: '/api/business/core/SelfServiceCarWashManagemen/GetCarWashManagementList',
      method: 'post',
      data
    })
  },
  // 新增合伙人
  OpenStoreAndCompany(data) {
    return request({
      url: '/api/admin/core/Store/OpenStoreAndCompany',
      method: 'post',
      data
    })
  },
  // 获取总后台合伙人列表
  GetAdminLeageStore(data) {
    return request({
      url: '/api/admin/core/Store/GetAdminLeageStore',
      method: 'post',
      data
    })
  },
  // 获取合伙人详情
  GetAdminLeageStoreDetail(data) {
    return request({
      url: '/api/admin/core/Store/GetAdminLeageStoreDetail',
      method: 'post',
      data
    })
  },
  // 新增合伙人详情
  OpenStoreAndCompany(data) {
    return request({
      url: '/api/admin/core/Store/OpenStoreAndCompany',
      method: 'post',
      data
    })
  },
  //修改合伙人详情
  EditAdminLeageStore(data) {
    return request({
      url: '/api/admin/core/Store/EditAdminLeageStore',
      method: 'post',
      data
    })
  },

  // 子账号列表
  GetChildAccountManagementList(data) {
    return request({
      url: '/api/admin/core/ChildAccount/GetChildAccountManagementList',
      method: 'post',
      data
    })
  },
  //  获取站点列表
  GetStationListManagementByStoreId(data) {
    return request({
      url: '/api/admin/core/ChildAccount/GetStationListManagementByStoreId',
      method: 'post',
      data
    })
  },

  // 新增子账号
  AddChildAccountCarWashManagement(data) {
    return request({
      url: '/api/admin/core/ChildAccount/AddChildAccountCarWashManagement',
      method: 'post',
      data
    })
  },
  // 修改子账号
  EditAddChildAccountCarWashManagement(data) {
    return request({
      url: '/api/admin/core/ChildAccount/EditAddChildAccountCarWashManagement',
      method: 'post',
      data
    })
  },
  // 识别营业执照
  CheckBusinessLicense(data) {
    return request({
      url: '/api/admin/core/Store/CheckBusinessLicense',
      method: 'post',
      data
    })
  },

}

export default account


